cmake_minimum_required(VERSION 3.15)

add_executable(TestA test_a_main.cpp)
target_link_libraries(TestA PUBLIC all_in_one)

add_executable(test_mqtt test_mqtt.cpp)
target_link_libraries(test_mqtt PUBLIC all_in_one)

add_executable(test_algo test_algo.cpp)
target_link_libraries(test_algo PUBLIC all_in_one)

add_executable(test_algo_c test_algo_c.cpp)
target_link_libraries(test_algo_c PUBLIC all_in_one)

add_executable(test_container_c test_container.cpp)
target_link_libraries(test_container_c PUBLIC all_in_one)

add_executable(test_heading_differential_control test_heading_differential_control.cpp)
target_link_libraries(test_heading_differential_control PUBLIC all_in_one)

add_executable(test_diff_ctrl test_diff_ctrl.cpp)
target_link_libraries(test_diff_ctrl PUBLIC all_in_one)

add_executable(full_path_coverage full_path_coverage.cpp)
target_link_libraries(full_path_coverage PUBLIC all_in_one)


add_executable(test_socket test_socket.cpp)
target_link_libraries(test_socket PUBLIC all_in_one)

find_package(Threads REQUIRED)
add_executable(test_usb test_usb.cpp)
target_link_libraries(test_usb PUBLIC Threads::Threads)
target_link_libraries(test_usb PUBLIC  usbcan)
target_link_libraries(test_usb PUBLIC all_in_one)


#add_executable(test_usb_2 test_usb_2.cpp)
#target_link_libraries(test_usb_2 PUBLIC Threads::Threads)
#target_link_libraries(test_usb_2 PUBLIC  usbcan)
#target_link_libraries(test_usb_2 PUBLIC all_in_one)




#add_executable(temp temp.cpp)
#set(OpenCV_ROOT "${VCPKG_INSTALLED_DIR}/x64-linux/share/opencv4")
#find_package(OpenCV REQUIRED)
#target_link_libraries(temp PUBLIC ${OpenCV_LIBS})

